
import { createApp } from 'vue'
import App from './App.vue'

// 引入路由
import router from './router'

import {createPinia} from 'pinia'

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
//引入axios
import axios from 'axios'

//设置axios的默认请求地址
axios.defaults.baseURL = 'http://localhost:54463/'

//引入bootstrap
import 'bootstrap/dist/css/bootstrap.min.css'

//挂载
createApp(App).use(pinia).use(router).mount('#app')
